<?php if (!defined('THINK_PATH')) exit();?><!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;" />
<meta name="description" content="" />
<meta name="author" content=""/>
<link rel="stylesheet" href="/rywechat/Public/plugins/bootstrap/3.3.4/css/bootstrap.min.css">
<link rel="stylesheet" href="/rywechat/Public/plugins/font-awesome/4.3.0/css/font-awesome.min.css">
<link rel="stylesheet" href="/rywechat/Public/themes/global/global.css">
<link rel="stylesheet" href="/rywechat/Public/themes/backend/layout.css">
<script src="/rywechat/Public/plugins/jquery/2.1.3/jquery.min.js"></script>
<script src="/rywechat/Public/plugins/bootstrap/3.3.4/js/bootstrap.min.js"></script>
<script src="/rywechat/Public/js/global.js"></script>
<script src="/rywechat/Public/js/backend/layout.js"></script>
<script>
$(function(){
    Layout.init();
});

</script>
<title><?php echo $module_name ?>-<?php echo $site_name ?></title>
</head>

<body>
<div class="page-header navbar">
  <div class="page-header-inner">
    <div class="page-logo"> <a href="<?php echo U( $module . '/index/index') ?>"><?php echo C('SITE_NAME') ?></a> </div>
    <a class="menu-toggler responsive-toggler" data-target=".navbar-collapse" data-toggle="collapse" href="javascript:;"> </a>
    <div class="top-menu">
      <ul class="nav navbar-nav navbar-right">
        <li class="dropdown"> 
          <a class="dropdown-toggle" data-close-others="true" data-hover="dropdown" data-toggle="dropdown" href="javascript:;"> 
          你好，<?php echo $username ?> <i class="fa fa-angle-down"></i> </a>
          <ul class="dropdown-menu">
            <li><a href="<?php echo U($module . '/auth/logout') ?>"><i class="fa fa-sign-out "></i> 退出</a></li>
          </ul>
        </li>
      </ul>
    </div><!-- end top-menu -->
  </div><!-- end page-header-inner -->
</div><!-- end page-header-inner -->

<div class="clearfix"> </div>
<!-- page-container -->
<div class="page-container"> <?php echo $menu ?> </div>

<!-- page-content-wrapper -->
<div class="page-content-wrapper"> <?php echo $body ?> </div>

<!-- page-footer -->
<div class="page-footer">
  <div class="page-footer-inner"> <?php echo C('COPYRIGHT') ?> <?php echo C('PROJECT_NAME') ?> (<?php echo C('APP_STATUS')?>) </div>
  <div class="scroll-to-top"> <i class="fa fa-arrow-circle-o-up"></i> </div>
</div>

</body>
</html>